﻿Imports DAO
Imports DTO

Public Class BoPhanBUS

    Public Function CapNhatBoPhan(ByVal sql As String) As Integer
        Dim dao As New BoPhanDAO()
        Return dao.CapNhatBoPhan(sql)
    End Function

    Public Function ThemBoPhan(ByVal sql As String) As Integer
        Dim dao As New BoPhanDAO()
        Return dao.ThemBoPhan(sql)
    End Function

    Public Function LayDSBoPhan() As List(Of BoPhanDTO)
        Dim dao As New BoPhanDAO()
        Return dao.LayDSBoPhan()
    End Function
End Class
